From: Florian Müllner Date: Wed, 11 Aug 2021 20:54:39 +0000 (+0200) Subject: status/location: Change permission table X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~574^2^2~135 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c6b72ccd150293308459e8f4d9d471f159451151;p=gnome-shell.git status/location: Change permission table There is now a location portal that provides a similar role as our agent. Settings supports that portal in its application panel, which allows users to revisit their choice later. Unfortunately it uses a different permission store table, so any permissions granted (or denied) through our agent won't show up there. To change that, switch to the same table as the portal/Settings. Part-of: --- diff --git a/js/ui/status/location.js b/js/ui/status/location.js index 1d2658c70..7e0222b72 100644 --- a/js/ui/status/location.js +++ b/js/ui/status/location.js @@ -16,8 +16,8 @@ const LOCATION_SCHEMA = 'org.gnome.system.location'; const MAX_ACCURACY_LEVEL = 'max-accuracy-level'; const ENABLED = 'enabled'; -const APP_PERMISSIONS_TABLE = 'gnome'; -const APP_PERMISSIONS_ID = 'geolocation'; +const APP_PERMISSIONS_TABLE = 'location'; +const APP_PERMISSIONS_ID = 'location'; var GeoclueAccuracyLevel = { NONE: 0,